﻿using System.ComponentModel.DataAnnotations;

namespace Rabbit.API.DTOs
{
    public class GoodsDTO
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>

        public string CreateBatch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ExpireTime { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>

        public string CreateCode { get; set; }
        /// <summary>
        /// 生产公司
        /// </summary>
        public string CreateCompany { get; set; }
        /// <summary>
        /// 序列化的封面图片路径
        /// </summary>   
        public string Covers { get; set; }
        /// <summary>
        /// 序列化的检验图片路径
        /// </summary>   
        public string Tests { get; set; }
        /// <summary>
        /// 完成度
        /// </summary>
        public string Proportion { get; set; }        
        /// <summary>
        /// 养殖外键
        /// </summary>
        public long BreedId { get; set; }
        /// <summary>
        /// 屠宰外键
        /// </summary>
        public long KillId { get; set; }
        /// <summary>
        /// 深加工外键
        /// </summary>
        public long FinishStepId { get; set; }
    }
}
